#include <QLibraryInfo>
#include <QTranslator>
#include <QApplication>
#include "mainwindowimpl.h"
//
int main(int argc, char ** argv)
{
	QApplication app( argc, argv );

	QTranslator translatorQt;
	translatorQt.load( QLibraryInfo::location( QLibraryInfo::TranslationsPath ) + "/qt_" + QLocale::system().name() );
	if( !translatorQt.isEmpty() )
		app.installTranslator( &translatorQt );

	MainWindowImpl win;
	win.move(150,150);
	win.show(); 
	app.connect( &app, SIGNAL( lastWindowClosed() ), &app, SLOT( quit() ) );
	return app.exec();
}
